﻿using System.Web;
using System.Web.Optimization;

namespace BBICMS.WebUI
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/site").Include(                        
                         "~/Scripts/lib/bootstrap.js",                           
                           //"~/Scripts/lib/common.js",  
                            "~/Scripts/jquery.mousewheel.js",
                            "~/Scripts/plugins.js",
                            "~/Scripts/app.js"
                           ));

            bundles.Add(new ScriptBundle("~/bundles/Admin/js").Include(
                         "~/Content/Bootstrap/js/bootstrap.js",
                         "~/Content/Bootstrap/plugins/bootbox/bootbox.js",
                          "~/plugins/toastr/toastr.js",
                            "~/Content/Admin/js/app.js"                           
                           ));

            bundles.Add(new ScriptBundle("~/bundles/sign/js").Include(
                       "~/Scripts/lib/jquery-{version}.js",
                        "~/Content/Admin/js/bootstrap.min.js",
                        "~/Content/Admin/js/theme.js"
                          ));


            bundles.Add(new ScriptBundle("~/bundles/jqueryForIE").Include(
                        "~/Scripts/lib/jqueryForIE/jquery-1.11.1.js"));

            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                       "~/Scripts/lib/jquery/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryvalWithBootstrap").Include(
                "~/Scripts/lib/jquery/plugins/jquery.unobtrusive-ajax.js",
                 "~/Scripts/lib/jquery/plugins/jquery.validate.js",
                  "~/Scripts/lib/jquery/plugins/jquery.validate.unobtrusive.js",
                       "~/Scripts/lib/jquery/plugins/jquery.validate.unobtrusive.bootstrap.js"));


            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/lib/jquery/plugins/jquery.unobtrusive*",
                        "~/Scripts/lib/jquery/plugins/jquery.validate*"));

            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/compatibility/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/admin/modernizr").Include(
                       "~/Content/Admin/js/lib/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/Public/css/hnz").Include(                      
                  "~/Content/Public/css/animate.css",
                 "~/Content/Public/css/Main.css"));

            
            bundles.Add(new StyleBundle("~/Content/Admin/css/hnz").Include(            
               "~/plugins/toastr/toastr.css",
               "~/Content/Admin/css/style.css"
               ));


           
        }
    }

}